package com.yasenagat.zkweb;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * Created by qwx89 on 2018/7/15.
 */
@SpringBootApplication
public class Application {

//    @Bean
//    InitializingBean save(CustomerRepository customerRepository){
//        return () -> {
//            customerRepository.save(new Customer("aa","11233"));
//            customerRepository.save(new Customer("bb","11233"));
//            customerRepository.save(new Customer("cc","11233"));
//        };
//    }

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
